#include "elephant.h"

#include <iostream>

#include "refrigerator.h"

Elephant::Elephant() = default;
Elephant::~Elephant() = default;
void Elephant::EnterRefrigerator(Refrigerator& refrigerator) {
    is_in_refrigerator_ = true;
    refrigerator.SetElephant(this);
    refrigerator.SetHasElephant(true);
    std::cout << "The elephant entered refrigerator." << std::endl;
}
